﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NewDDSys.Entity;
using NewDDSys.Factory;
using NewDDSys.IBLL;
using System.Data;
namespace NewDDSys.BLL
{
    public class RkcdtBLL:IRkcdtBLL
    {
        public int Add(RkcdtInfo dt)
        {
            return DALFactory.CreateRkcdtDAL().Add(dt);
        }
        public int Update(string dtnum, decimal kn, decimal knwj, decimal knkl, decimal dk, decimal dkwj, decimal dkkl)
        {
            return DALFactory.CreateRkcdtDAL().Update(dtnum, kn, knwj, knkl, dk, dkwj, dkkl);
        }
        public int UpdateKN(string dtnum, decimal kn)
        {
            return DALFactory.CreateRkcdtDAL().UpdateKN(dtnum, kn);
        }
        public int UpdateKNWJ(string dtnum, decimal knwj)
        {
            return DALFactory.CreateRkcdtDAL().UpdateKNWJ(dtnum, knwj);
        }
        public int UpdateKNKL(string dtnum, decimal knkl)
        {
            return DALFactory.CreateRkcdtDAL().UpdateKNKL(dtnum, knkl);
        }

        public int UpdateDK(string dtnum, decimal dk)
        {
            return DALFactory.CreateRkcdtDAL().UpdateDK(dtnum, dk);
        }
        public int UpdateDKWJ(string dtnum, decimal dkwj)
        {
            return DALFactory.CreateRkcdtDAL().UpdateDKWJ(dtnum, dkwj);
        }
        public int UpdateDKKL(string dtnum, decimal dkkl)
        {
            return DALFactory.CreateRkcdtDAL().UpdateDKKL(dtnum, dkkl);
        }
        public int Del(string dtnum)
        {
            return DALFactory.CreateRkcdtDAL().Del(dtnum);
        }
        public DataSet Select(string dtnum)
        {
            return DALFactory.CreateRkcdtDAL().Select(dtnum);
        }
        public DataSet SelectAll(string ku)
        {
            return DALFactory.CreateRkcdtDAL().SelectAll(ku);
        }
        public DataSet SelectPG(string ku)
        {
            return DALFactory.CreateRkcdtDAL().SelectPG(ku);
        }
        public string KuKC(string cday, string ku)
        {
            return DALFactory.CreateRkcdtDAL().KuKC(cday, ku);
        }
        public string JDJB(string cday)
        {
            return DALFactory.CreateRkcdtDAL().JDJB(cday);
        }
        public string WJK(string cday)
        {
            return DALFactory.CreateRkcdtDAL().WJK(cday);
        }
        public string KLY(string cday)
        {
            return DALFactory.CreateRkcdtDAL().KLY(cday);
        }
        public string ZKC(string cday)
        {
            return DALFactory.CreateRkcdtDAL().ZKC(cday);
        }
    }
}
